
class ex_4_11 { 
	public static void main(String[] args) { 
		String title[] = {"JAVA ","HTML ","C   ","TOTAL"}; 
		int jumsu[][] = {{77, 66, 88}, {90, 80, 100}, {65, 75, 85}};
		int i, j, total; 
		System.out.println("*** sung juk pyo ***\n"); 
		for(i=0; i < title.length; i++) 
			System.out.print(title[i] + " "); 
		System.out.println(); 
		for(i=0; i<3; i++) 
		{ 
			total=0; 
			for(j=0; j<3; j++) 
			{ 
				System.out.print(jumsu[i][j] + "    "); 
				total = total + jumsu[i][j]; 
			} 
			System.out.println(total); 
		}
	}
}